package com.viathink.vip.web.controller;

import com.viathink.frame.core.dao.BaseService;
import com.viathink.frame.core.web.controller.BaseControllerImpl;
import com.viathink.frame.core.web.domain.Result;
import com.viathink.vip.domain.VipCounselor;
import com.viathink.vip.domain.VipCustomer;
import com.viathink.vip.domain.query.VipCustomerQuery;
import com.viathink.vip.service.VipCounselorService;
import com.viathink.vip.service.VipCustomerService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.web.PageableDefault;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.ArrayList;
import java.util.List;

/**
 * 会员信息的基本操作
 *
 * @author baijian
 * @date 20170525
 */
@Controller
@RequestMapping("/vip/counselor")
public class VipCounselorContoller extends BaseControllerImpl<VipCounselor, VipCounselor> {
    private Logger log = LoggerFactory.getLogger(VipCounselorContoller.class);

    @Autowired
    private VipCounselorService vipCounselorService;

    @Override
    protected BaseService<VipCounselor> getBaseService() {
        return vipCounselorService;
    }


}
